Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.platform.comment.actions--actions

This contribution is part of XML component org.nuxeo.ecm.platform.comment.actions inside nuxeo-platform-comment-web-5.8.jar

Extension Point

Extension point actions of component ActionService.

Contributed Items

  • <action enabled="true" id="view_comments" label="action.view.comments" link="/incl/tabs/document_comments.xhtml" order="80">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>commentable</filter-id>
          <filter-id>mutable_document</filter-id>
          <filter-id>not_anonymous</filter-id>
        </action>
  • <action enabled="true" id="newComment" label="command.add" link="#{commentManagerActions.addComment}" order="10">
          <category>COMMENT_ACTIONS</category>
        </action>
  • <action enabled="true" id="cancelComment" label="command.cancel" link="#{commentManagerActions.cancelComment}" order="20">
          <category>COMMENT_ACTIONS</category>
        </action>

XML Source

<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">
    <action enabled="true" id="view_comments" label="action.view.comments" link="/incl/tabs/document_comments.xhtml" order="80">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>commentable</filter-id>
      <filter-id>mutable_document</filter-id>
      <filter-id>not_anonymous</filter-id>
    </action>

    <!--  add the comment creation button -->
    <action enabled="true" id="newComment" label="command.add" link="#{commentManagerActions.addComment}" order="10">
      <category>COMMENT_ACTIONS</category>
    </action>

    <action enabled="true" id="cancelComment" label="command.cancel" link="#{commentManagerActions.cancelComment}" order="20">
      <category>COMMENT_ACTIONS</category>
    </action>
  </extension>